package service;

import pojo.Jxb;

import java.util.List;

/**
 * 急性病表业务逻辑接口
 */
public interface JxbService {
    Jxb findJxbById(Integer id);
    List<Jxb> findAllJxb();
    List<Jxb> findJxbByCategory(String category);
    List<Jxb> findJxbBySeason(String season);
    List<Jxb> searchJxb(String keyword);
    int addJxb(Jxb jxb);
    int updateJxb(Jxb jxb);
    int deleteJxb(Integer id);
    int incrementViewCount(Integer id);
}